package day07;

public class FormUtil {

    public static String getChecked(String value,String[] data){
        if(data!=null){
            for (String string : data) {
                if(string.equals(value)){
                    return "checked='checked'";
                }
            }
        }
        return "";
    }
}
